<template>
  <div class="seek">
    <div class="item">
      <div class="item__top">
        <p class="item__top-title">{{ seek.title }}</p>
        <span class="tag">求助</span>
      </div>
      <p class="item__bottom">{{ seek.date }}</p>
    </div>
    <slot name="gap"></slot>
  </div>
</template>

<script>
export default {
  components: {},
  props: {
    seek: {
      type: Object,
      default: () => {
        return {
          title: '柔派派相机人像模式加载过久/加载异常',
          date: '2020-12-14 09:34:55',
          id: '99',
        }
      },
    },
  },
  name: 'SuggestItem',
  data() {
    return {}
  },
  watch: {},
  computed: {},
  methods: {},
  created() {},
  mounted() {},
}
</script>
<style lang="scss" scoped>
.item {
  padding: 24px 0;
}
.item__top {
  margin-bottom: 8px;
}
.item__top-title {
  display: inline-block;
  font-size: 16px;
  line-height: 24px;
}
.tag {
  padding: 0 8px;
  height: 24px;
  line-height: 24px;
  border-radius: 12px;
  background: rgba($color-royole, 0.1);
  color: rgba($color-royole, 0.6);
}
.item__bottom {
  line-height: 16px;
  font-family: Gotham-Book;
  font-size: 14px;
  color: $color-font-grey;
  font-weight: 300;
  font-size: 14px;
}
</style>
